package Filters;

import java.util.Comparator;

public class StopWordsComparator implements Comparator<String> {

	public int compare(String s1, String s2) {
		String[]s1a= s1.trim().split(" ");
		String[]s2a= s2.trim().split(" ");
		if(s1a.length>=s2a.length){
			
			return 1;
		}
		return -1;
		
	}

}
